import { createSlice } from "@reduxjs/toolkit";


export const addressSlice = createSlice({
    name:'addressSlice',
    initialState:{
        address:[
            {
                url:"/main",
                name:'首页'
            },
            {
                url:"/main/list",
                name:'列表'
            },
            {
                url:"/main/my",
                name:'我的'
            },
            {
                url:"/main/chat",
                name:'聊天'
            },
            {
                url:"/main/role",
                name:'角色管理'
            },
            {
                url:"/main/order",
                name:'订单管理'
            }
        ]
    }
})


export default addressSlice.reducer;